From: Carlos Garnacho Date: Sat, 31 May 2025 11:26:09 +0000 (+0200) Subject: keyboard: Update keys from the current KeyboardController purpose X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~124^2^2~75 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a4f9d51a1552a6eee6ac2499521eb6d8e6466fbd;p=gnome-shell.git keyboard: Update keys from the current KeyboardController purpose This will make the keyboard widgetry have the expected features, given a pre-existing content hint. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8377 Part-of: --- diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index fc21011d3..0ae00e167 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -1660,7 +1660,8 @@ export const Keyboard = GObject.registerClass({ _updateKeys() { const group = this._keyboardController.getCurrentGroup(); - this._updateLayout(group, this._purpose); + const {purpose} = this._keyboardController; + this._updateLayout(group, purpose); this._setActiveLevel('default'); }